Elastic Collision in One Dimension